home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / motifpg2.zip / README.2 < prev    next >
Text File  |  1992-08-18  |  1KB  |  44 lines

  1. This distribution is designed to build under R5.
  2. The build process uses imake, and assumes that Motif 1.2
  3. (or Motif 1.1.4) is already built and installed.
  4.  
  5. To rebuild the Makefile using already installed
  6. libraries, use xmkmf as follows:
  7.  
  8. xmkmf
  9.  
  10. If the libraries are still installed in the X source tree, use:
  11.  
  12. xmkmf TOP
  13.  
  14. where TOP is the full path of the mit directory of your X distribution
  15. sources.
  16.  
  17. Alternately, use the ximake.sh shell script provided
  18. in the TOP/util/scripts directory, something like the following:
  19.  
  20. TOP/util/scripts/ximake.sh -i TOP
  21.  
  22. where TOP is the full path of the mit directory of your X distribution
  23. sources.
  24.  
  25. Without the -i flag, the Makefile will use libraries and include 
  26. files in the X source tree.  This will only work if you have built the
  27. Core distribution and have not yet cleaned out all the object
  28. files and libraries from the source tree.  However, many people
  29. clean out these files after installing the executables and libraries
  30. in order to make disk space for compiling things in contrib.
  31. So normally you want to use -i, or xmkmf alone.
  32.  
  33. If you want to compile the programs with -g to let you debug using
  34. a debugger such as dbx, use:
  35.  
  36. make "CC=cc -g"
  37.  
  38. If you do not have the sources for X, you may not have the
  39. ximake.sh script, and you may not have the configuration files
  40. that \f(CWimake\fP requires.  If this is the case, you can try
  41. the provided default Makefiles, or you can compile manually:
  42.  
  43. cc -g -o progname progname.c -lXm -lXt -lXext -lX11
  44.